import React, { PureComponent } from 'react';
import ReactDOM from 'react-dom';
// import Ppd from './HOC/ppd';
// import Sima from './HOC/sima';
import "./装饰器"

// import A from './context';
// import Portal from './portai';

// import Clock from "./Clock";
import App from './App';
import reportWebVitals from './reportWebVitals';

// import Todo from './todoList';
// import Calculator from "./stateUp/calculator"
// import Combination from './组合';

// let header = <h1>今晚打老虎</h1>
// let main = <h1>今晚打游戏</h1>
// let footer = <h1>今晚玩吃鸡</h1>

ReactDOM.render(
  <React.StrictMode>
    <App/>
    {/* <Clock timer={new Date().toLocaleTimeString()} /> */}

    {/* <Calculator /> */}
    {/* <A></A>
    <Portal></Portal> */}
   {/* <Todo></Todo> */}
    {/* <Combination header={header} main={main} footer={footer}></Combination> */}
  {/* <Ppd></Ppd>
  <Sima></Sima> */}
  </React.StrictMode>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
